package com.mall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.common.utils.PageUtils;
import com.mall.product.entity.SpuInfoEntity;
import com.mall.product.vo.OrderItemSpuInfoVo;
import com.mall.product.vo.SpuInfoVo;

import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * spu��Ϣ
 *
 * @author yjv
 * @email 111111@163.com
 * @date 2024-08-04 00:42:44
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSpuInfo(SpuInfoVo vo);

    PageUtils queryPageByCondition(Map<String, Object> params);

    void up(Long spuId) throws IOException;

    List<OrderItemSpuInfoVo> getOrderItemSpuInfoBySpuId(Long[] spuIds);
}

